package com.woniu.woniuk16.service;

import com.woniu.woniuk16.dto.MenuDto;
import com.woniu.woniuk16.dto.RuleSelMenusDto;
import com.woniu.woniuk16.entity.WoniuMenus;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.woniuk16.param.ChangeRuleParam;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tiangle
 * @since 2021-12-17
 */
public interface WoniuMenusService extends IService<WoniuMenus> {
    List<MenuDto> getMenus(Integer id);
    List<MenuDto> getMenusByRule(Integer id);
    List<MenuDto> getByUserId(Integer id);

    RuleSelMenusDto getRuleMenu(Integer id);
    boolean changeRule(ChangeRuleParam changeRuleParam);
}
